package com.mq.transaction;

import java.io.Serializable;

/**
 * @author ytj
 * @date 2024/1/23
 */
public class Demo12Message implements Serializable {
    public static final String QUEUE_NAME = "demo12";
    public static final String EXCHANGE_NAME = "demo12-exchange";
    public static final String ROUTING_KEY = "demo12";
    private Integer id;

    public Demo12Message(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
